package com.crm.system.service.customerManager;

import com.alibaba.fastjson.JSONObject;
import com.crm.common.model.DhPageInfo;
import com.crm.model.vo.customerManager.NewSingleMemberStatisticsVO;

import java.util.List;

/**
 * @author luojie
 * @date 2021/5/25 10:51
 */
public interface NewMemberAnalyseService {

    List<JSONObject> getNewMemberMonthlyStatistics(Integer dateUnit);

    List<JSONObject> getEveryMonthlyNewMemberStatistics(String startDate, String endDate);

    DhPageInfo<NewSingleMemberStatisticsVO> getNewSingleMemberStatistics(Integer pageIndex, Integer pageSize);

    DhPageInfo<NewSingleMemberStatisticsVO> selectNewSingleMemberStatisticsByContract(Integer pageIndex, Integer pageSize, String yearMonth, String contractType);

    JSONObject getPercentageQuotaStatistics();
}
